package deanandjames.configuration;

public class Configuration {
	private static Configuration instance;

	public static void configure(boolean isDebugEnabled) {
		instance = new Configuration(isDebugEnabled);
	}

	public static Configuration getInstance() {
		return instance;
	}

	private boolean isDebugEnabled;

	private Configuration(boolean isDebugEnabled) {
		this.isDebugEnabled = isDebugEnabled;
	}

	public boolean isDebugEnabled() {
		return isDebugEnabled;
	}

	public void setIsDebugEnabled(boolean isDebugEnabled) {
		this.isDebugEnabled = isDebugEnabled;
	}
}
